/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.UUID;

/**
 *
 * @author user
 */
public class Util {
public static String authenticateCode;
    public static String formatNumber(int number) {
        NumberFormat f = NumberFormat.getInstance();
        ((DecimalFormat) f).setDecimalSeparatorAlwaysShown(true);
        return f.format(number);
    }
    public static String generateAuthenticateCode(){
        authenticateCode = UUID.randomUUID().toString();
        return authenticateCode;
    }
}
